home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / editors / emcs1857 / 1857el~1.zoo / lisp / saveconf.elc < prev    next >
Emacs Compiled Lisp  |  1992-02-04  |  5.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
1% dexvert Combustion 2 Particle Library (other/combustion2ParticleLibrary) ext Unsupported
100% file Emacs v18 byte-compiled Lisp data default
99% file data default
100% gt2 Kopftext: '(provide (quote saveconf)) default (weak)
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime text/x-emacs-lisp default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0a 28 70 72 6f 76 69 64 | 65 20 28 71 75 6f 74 65 |.(provid|e (quote|
|00000010| 20 73 61 76 65 63 6f 6e | 66 29 29 0a 0a 28 64 65 | savecon|f))..(de|
|00000020| 66 63 6f 6e 73 74 20 73 | 61 76 65 2d 63 6f 6e 74 |fconst s|ave-cont|
|00000030| 65 78 74 2d 76 65 72 73 | 69 6f 6e 20 22 4e 6f 72 |ext-vers|ion "Nor|
|00000040| 6d 61 20 4a 65 61 6e 22 | 20 22 5c 0a 41 20 75 6e |ma Jean"| "\.A un|
|00000050| 69 71 75 65 20 73 74 72 | 69 6e 67 20 77 68 69 63 |ique str|ing whic|
|00000060| 68 20 69 73 20 70 6c 61 | 63 65 64 20 61 74 20 74 |h is pla|ced at t|
|00000070| 68 65 20 62 65 67 69 6e | 6e 69 6e 67 20 6f 66 20 |he begin|ning of |
|00000080| 65 76 65 72 79 20 73 61 | 76 65 64 20 63 6f 6e 74 |every sa|ved cont|
|00000090| 65 78 74 0a 66 69 6c 65 | 2e 20 20 49 66 20 74 68 |ext.file|. If th|
|000000a0| 65 20 73 74 72 69 6e 67 | 20 61 74 20 74 68 65 20 |e string| at the |
|000000b0| 62 65 67 69 6e 6e 69 6e | 67 20 6f 66 20 74 68 65 |beginnin|g of the|
|000000c0| 20 63 6f 6e 74 65 78 74 | 20 66 69 6c 65 20 64 6f | context| file do|
|000000d0| 65 73 6e 27 74 20 6d 61 | 74 63 68 20 74 68 65 0a |esn't ma|tch the.|
|000000e0| 76 61 6c 75 65 20 6f 66 | 20 74 68 69 73 20 76 61 |value of| this va|
|000000f0| 72 69 61 62 6c 65 20 74 | 68 65 20 60 72 65 63 6f |riable t|he `reco|
|00000100| 76 65 72 2d 63 6f 6e 74 | 65 78 74 27 20 63 6f 6d |ver-cont|ext' com|
|00000110| 6d 61 6e 64 20 77 69 6c | 6c 20 69 67 6e 6f 72 65 |mand wil|l ignore|
|00000120| 20 74 68 65 20 66 69 6c | 65 27 73 0a 63 6f 6e 74 | the fil|e's.cont|
|00000130| 65 6e 74 73 2e 22 29 0a | 0a 28 64 65 66 76 61 72 |ents.").|.(defvar|
|00000140| 20 61 75 74 6f 2d 73 61 | 76 65 2d 61 6e 64 2d 72 | auto-sa|ve-and-r|
|00000150| 65 63 6f 76 65 72 2d 63 | 6f 6e 74 65 78 74 20 6e |ecover-c|ontext n|
|00000160| 69 6c 20 22 5c 0a 2a 49 | 66 20 6e 6f 6e 2d 6e 69 |il "\.*I|f non-ni|
|00000170| 6c 20 74 68 65 20 60 73 | 61 76 65 2d 63 6f 6e 74 |l the `s|ave-cont|
|00000180| 65 78 74 27 20 63 6f 6d | 6d 61 6e 64 20 77 69 6c |ext' com|mand wil|
|00000190| 6c 20 61 6c 77 61 79 73 | 20 62 65 20 72 75 6e 20 |l always| be run |
|000001a0| 62 65 66 6f 72 65 20 45 | 6d 61 63 73 20 69 73 0a |before E|macs is.|
|000001b0| 65 78 69 74 65 64 2e 20 | 20 41 6c 73 6f 20 75 70 |exited. | Also up|
|000001c0| 6f 6e 20 45 6d 61 63 73 | 20 73 74 61 72 74 75 70 |on Emacs| startup|
|000001d0| 2c 20 69 66 20 74 68 69 | 73 20 76 61 72 69 61 62 |, if thi|s variab|
|000001e0| 6c 65 20 69 73 20 6e 6f | 6e 2d 6e 69 6c 20 61 6e |le is no|n-nil an|
|000001f0| 64 20 45 6d 61 63 73 20 | 69 73 0a 70 61 73 73 65 |d Emacs |is.passe|
|00000200| 64 20 6e 6f 20 63 6f 6d | 6d 61 6e 64 20 6c 69 6e |d no com|mand lin|
|00000210| 65 20 61 72 67 75 6d 65 | 6e 74 73 2c 20 60 72 65 |e argume|nts, `re|
|00000220| 63 6f 76 65 72 2d 63 6f | 6e 74 65 78 74 27 20 77 |cover-co|ntext' w|
|00000230| 69 6c 6c 20 62 65 20 72 | 75 6e 2e 22 29 0a 0a 28 |ill be r|un.")..(|
|00000240| 64 65 66 76 61 72 20 73 | 61 76 65 2d 62 75 66 66 |defvar s|ave-buff|
|00000250| 65 72 2d 63 6f 6e 74 65 | 78 74 20 6e 69 6c 20 22 |er-conte|xt nil "|
|00000260| 5c 0a 2a 49 66 20 6e 6f | 6e 2d 6e 69 6c 20 74 68 |\.*If no|n-nil th|
|00000270| 65 20 60 73 61 76 65 2d | 63 6f 6e 74 65 78 74 27 |e `save-|context'|
|00000280| 20 63 6f 6d 6d 61 6e 64 | 20 77 69 6c 6c 20 73 61 | command| will sa|
|00000290| 76 65 20 74 68 65 20 63 | 6f 6e 74 65 78 74 0a 6f |ve the c|ontext.o|
|000002a0| 66 20 62 75 66 66 65 72 | 73 20 74 68 61 74 20 61 |f buffer|s that a|
|000002b0| 72 65 20 76 69 73 69 74 | 69 6e 67 20 66 69 6c 65 |re visit|ing file|
|000002c0| 73 2c 20 61 73 20 77 65 | 6c 6c 20 61 73 20 74 68 |s, as we|ll as th|
|000002d0| 65 20 63 6f 6e 74 65 78 | 74 73 20 6f 66 20 62 75 |e contex|ts of bu|
|000002e0| 66 66 65 72 73 0a 74 68 | 61 74 20 68 61 76 65 20 |ffers.th|at have |
|000002f0| 77 69 6e 64 6f 77 73 2e | 22 29 0a 0a 28 64 65 66 |windows.|")..(def|
|00000300| 76 61 72 20 73 61 76 65 | 2d 63 6f 6e 74 65 78 74 |var save|-context|
|00000310| 2d 70 72 65 64 69 63 61 | 74 65 20 28 66 75 6e 63 |-predica|te (func|
|00000320| 74 69 6f 6e 20 28 6c 61 | 6d 62 64 61 20 28 77 29 |tion (la|mbda (w)|
|00000330| 20 28 61 6e 64 20 28 62 | 75 66 66 65 72 2d 66 69 | (and (b|uffer-fi|
|00000340| 6c 65 2d 6e 61 6d 65 20 | 28 77 69 6e 64 6f 77 2d |le-name |(window-|
|00000350| 62 75 66 66 65 72 20 77 | 29 29 20 28 6e 6f 74 20 |buffer w|)) (not |
|00000360| 28 73 74 72 69 6e 67 2d | 6d 61 74 63 68 20 22 5e |(string-|match "^|
|00000370| 5c 5c 28 2f 75 73 72 5c | 5c 29 3f 2f 74 6d 70 2f |\\(/usr\|\)?/tmp/|
|00000380| 22 20 28 62 75 66 66 65 | 72 2d 66 69 6c 65 2d 6e |" (buffe|r-file-n|
|00000390| 61 6d 65 20 28 77 69 6e | 64 6f 77 2d 62 75 66 66 |ame (win|dow-buff|
|000003a0| 65 72 20 77 29 29 29 29 | 29 29 29 20 22 5c 0a 2a |er w))))|))) "\.*|
|000003b0| 56 61 6c 75 65 20 69 73 | 20 61 20 70 72 65 64 69 |Value is| a predi|
|000003c0| 63 61 74 65 20 66 75 6e | 63 74 69 6f 6e 20 77 68 |cate fun|ction wh|
|000003d0| 69 63 68 20 64 65 74 65 | 72 6d 69 6e 65 73 20 77 |ich dete|rmines w|
|000003e0| 68 69 63 68 20 77 69 6e | 64 6f 77 73 27 20 63 6f |hich win|dows' co|
|000003f0| 6e 74 65 78 74 73 0a 61 | 72 65 20 73 61 76 65 64 |ntexts.a|re saved|
|00000400| 2e 20 20 57 68 65 6e 20 | 74 68 65 20 60 73 61 76 |. When |the `sav|
|00000410| 65 2d 63 6f 6e 74 65 78 | 74 27 20 63 6f 6d 6d 61 |e-contex|t' comma|
|00000420| 6e 64 20 69 73 20 69 6e | 76 6f 6b 65 64 2c 20 74 |nd is in|voked, t|
|00000430| 68 69 73 20 66 75 6e 63 | 74 69 6f 6e 20 77 69 6c |his func|tion wil|
|00000440| 6c 0a 62 65 20 63 61 6c | 6c 65 64 20 6f 6e 63 65 |l.be cal|led once|
|00000450| 20 66 6f 72 20 65 61 63 | 68 20 65 78 69 73 74 69 | for eac|h existi|
|00000460| 6e 67 20 45 6d 61 63 73 | 20 77 69 6e 64 6f 77 2e |ng Emacs| window.|
|00000470| 20 20 54 68 65 20 66 75 | 6e 63 74 69 6f 6e 20 73 | The fu|nction s|
|00000480| 68 6f 75 6c 64 20 61 63 | 63 65 70 74 0a 6f 6e 65 |hould ac|cept.one|
|00000490| 20 61 72 67 75 6d 65 6e | 74 20 77 68 69 63 68 20 | argumen|t which |
|000004a0| 77 69 6c 6c 20 62 65 20 | 61 20 77 69 6e 64 6f 77 |will be |a window|
|000004b0| 20 6f 62 6a 65 63 74 2c | 20 61 6e 64 20 73 68 6f | object,| and sho|
|000004c0| 75 6c 64 20 72 65 74 75 | 72 6e 20 6e 6f 6e 2d 6e |uld retu|rn non-n|
|000004d0| 69 6c 20 69 66 0a 74 68 | 65 20 77 69 6e 64 6f 77 |il if.th|e window|
|000004e0| 27 73 20 63 6f 6e 74 65 | 78 74 20 73 68 6f 75 6c |'s conte|xt shoul|
|000004f0| 64 20 62 65 20 73 61 76 | 65 64 2e 22 29 0a 0a 28 |d be sav|ed.")..(|
|00000500| 69 66 20 28 6e 6f 74 20 | 28 66 62 6f 75 6e 64 70 |if (not |(fboundp|
|00000510| 20 28 71 75 6f 74 65 20 | 6a 75 73 74 2d 6b 69 6c | (quote |just-kil|
|00000520| 6c 2d 65 6d 61 63 73 29 | 29 29 20 28 66 73 65 74 |l-emacs)|)) (fset|
|00000530| 20 28 71 75 6f 74 65 20 | 6a 75 73 74 2d 6b 69 6c | (quote |just-kil|
|00000540| 6c 2d 65 6d 61 63 73 29 | 20 28 73 79 6d 62 6f 6c |l-emacs)| (symbol|
|00000550| 2d 66 75 6e 63 74 69 6f | 6e 20 28 71 75 6f 74 65 |-functio|n (quote|
|00000560| 20 6b 69 6c 6c 2d 65 6d | 61 63 73 29 29 29 29 0a | kill-em|acs)))).|
|00000570| 0a 28 73 65 74 71 20 74 | 6f 70 2d 6c 65 76 65 6c |.(setq t|op-level|
|00000580| 20 28 6c 69 73 74 20 28 | 71 75 6f 74 65 20 6c 65 | (list (|quote le|
|00000590| 74 29 20 28 71 75 6f 74 | 65 20 28 28 73 74 61 72 |t) (quot|e ((star|
|000005a0| 74 69 6e 67 2d 75 70 20 | 28 6e 6f 74 20 63 6f 6d |ting-up |(not com|
|000005b0| 6d 61 6e 64 2d 6c 69 6e | 65 2d 70 72 6f 63 65 73 |mand-lin|e-proces|
|000005c0| 73 65 64 29 29 29 29 20 | 28 6c 69 73 74 20 28 71 |sed)))) |(list (q|
|000005d0| 75 6f 74 65 20 70 72 6f | 67 31 29 20 74 6f 70 2d |uote pro|g1) top-|
|000005e0| 6c 65 76 65 6c 20 28 71 | 75 6f 74 65 20 28 61 6e |level (q|uote (an|
|000005f0| 64 20 73 74 61 72 74 69 | 6e 67 2d 75 70 20 61 75 |d starti|ng-up au|
|00000600| 74 6f 2d 73 61 76 65 2d | 61 6e 64 2d 72 65 63 6f |to-save-|and-reco|
|00000610| 76 65 72 2d 63 6f 6e 74 | 65 78 74 20 28 6e 75 6c |ver-cont|ext (nul|
|00000620| 6c 20 28 63 64 72 20 63 | 6f 6d 6d 61 6e 64 2d 6c |l (cdr c|ommand-l|
|00000630| 69 6e 65 2d 61 72 67 73 | 29 29 20 28 72 65 63 6f |ine-args|)) (reco|
|00000640| 76 65 72 2d 63 6f 6e 74 | 65 78 74 29 29 29 29 29 |ver-cont|ext)))))|
|00000650| 29 0a 0a 28 64 65 66 75 | 6e 20 6b 69 6c 6c 2d 65 |)..(defu|n kill-e|
|00000660| 6d 61 63 73 20 28 26 6f | 70 74 69 6f 6e 61 6c 20 |macs (&o|ptional |
|00000670| 71 75 65 72 79 29 20 22 | 5c 0a 45 6e 64 20 74 68 |query) "|\.End th|
|00000680| 69 73 20 45 6d 61 63 73 | 20 73 65 73 73 69 6f 6e |is Emacs| session|
|00000690| 2e 0a 50 72 65 66 69 78 | 20 41 52 47 20 6f 72 20 |..Prefix| ARG or |
|000006a0| 6f 70 74 69 6f 6e 61 6c | 20 66 69 72 73 74 20 41 |optional| first A|
|000006b0| 52 47 20 6e 6f 6e 2d 6e | 69 6c 20 6d 65 61 6e 73 |RG non-n|il means|
|000006c0| 20 65 78 69 74 20 77 69 | 74 68 20 6e 6f 20 71 75 | exit wi|th no qu|
|000006d0| 65 73 74 69 6f 6e 73 20 | 61 73 6b 65 64 2c 0a 65 |estions |asked,.e|
|000006e0| 76 65 6e 20 69 66 20 74 | 68 65 72 65 20 61 72 65 |ven if t|here are|
|000006f0| 20 75 6e 73 61 76 65 64 | 20 62 75 66 66 65 72 73 | unsaved| buffers|
|00000700| 2e 20 20 49 66 20 45 6d | 61 63 73 20 69 73 20 72 |. If Em|acs is r|
|00000710| 75 6e 6e 69 6e 67 20 6e | 6f 6e 2d 69 6e 74 65 72 |unning n|on-inter|
|00000720| 61 63 74 69 76 65 6c 79 | 0a 61 6e 64 20 41 52 47 |actively|.and ARG|
|00000730| 20 69 73 20 61 6e 20 69 | 6e 74 65 67 65 72 2c 20 | is an i|nteger, |
|00000740| 74 68 65 6e 20 45 6d 61 | 63 73 20 65 78 69 74 73 |then Ema|cs exits|
|00000750| 20 77 69 74 68 20 41 52 | 47 20 61 73 20 69 74 73 | with AR|G as its|
|00000760| 20 65 78 69 74 20 63 6f | 64 65 2e 0a 0a 49 66 20 | exit co|de...If |
|00000770| 74 68 65 20 76 61 72 69 | 61 62 6c 65 20 60 61 75 |the vari|able `au|
|00000780| 74 6f 2d 73 61 76 65 2d | 61 6e 64 2d 72 65 73 74 |to-save-|and-rest|
|00000790| 6f 72 65 2d 63 6f 6e 74 | 65 78 74 27 20 69 73 20 |ore-cont|ext' is |
|000007a0| 6e 6f 6e 2d 6e 69 6c 2c | 0a 74 68 65 20 66 75 6e |non-nil,|.the fun|
|000007b0| 63 74 69 6f 6e 20 73 61 | 76 65 2d 63 6f 6e 74 65 |ction sa|ve-conte|
|000007c0| 78 74 20 77 69 6c 6c 20 | 62 65 20 63 61 6c 6c 65 |xt will |be calle|
|000007d0| 64 20 66 69 72 73 74 2e | 22 20 28 69 6e 74 65 72 |d first.|" (inter|
|000007e0| 61 63 74 69 76 65 20 22 | 50 22 29 20 28 62 79 74 |active "|P") (byt|
|000007f0| 65 2d 63 6f 64 65 20 22 | c3 88 08 85 08 00 09 3f |e-code "|.......?|
|00000800| 85 0d 00 c4 20 88 c5 0a | 21 87 22 20 5b 61 75 74 |.... ...|!." [aut|
|00000810| 6f 2d 73 61 76 65 2d 61 | 6e 64 2d 72 65 63 6f 76 |o-save-a|nd-recov|
|00000820| 65 72 2d 63 6f 6e 74 65 | 78 74 20 70 75 72 69 66 |er-conte|xt purif|
|00000830| 79 2d 66 6c 61 67 20 71 | 75 65 72 79 20 6e 69 6c |y-flag q|uery nil|
|00000840| 20 73 61 76 65 2d 63 6f | 6e 74 65 78 74 20 6a 75 | save-co|ntext ju|
|00000850| 73 74 2d 6b 69 6c 6c 2d | 65 6d 61 63 73 5d 20 33 |st-kill-|emacs] 3|
|00000860| 29 29 0a 0a 28 64 65 66 | 75 6e 20 73 61 76 65 2d |))..(def|un save-|
|00000870| 63 6f 6e 74 65 78 74 20 | 6e 69 6c 20 22 5c 0a 53 |context |nil "\.S|
|00000880| 61 76 65 20 63 6f 6e 74 | 65 78 74 20 6f 66 20 61 |ave cont|ext of a|
|00000890| 6c 6c 20 45 6d 61 63 73 | 20 77 69 6e 64 6f 77 73 |ll Emacs| windows|
|000008a0| 20 28 66 69 6c 65 73 20 | 76 69 73 69 74 65 64 20 | (files |visited |
|000008b0| 61 6e 64 20 70 6f 73 69 | 74 69 6f 6e 20 6f 66 20 |and posi|tion of |
|000008c0| 70 6f 69 6e 74 29 2e 0a | 54 68 65 20 69 6e 66 6f |point)..|The info|
|000008d0| 72 6d 61 74 69 6f 6e 20 | 67 6f 65 73 20 69 6e 74 |rmation |goes int|
|000008e0| 6f 20 61 20 66 69 6c 65 | 20 63 61 6c 6c 65 64 20 |o a file| called |
|000008f0| 2e 65 6d 61 63 73 5f 3c | 75 73 65 72 6e 61 6d 65 |.emacs_<|username|
|00000900| 3e 20 69 6e 20 74 68 65 | 20 64 69 72 65 63 74 6f |> in the| directo|
|00000910| 72 79 0a 77 68 65 72 65 | 20 74 68 65 20 45 6d 61 |ry.where| the Ema|
|00000920| 63 73 20 73 65 73 73 69 | 6f 6e 20 77 61 73 20 73 |cs sessi|on was s|
|00000930| 74 61 72 74 65 64 2e 20 | 20 54 68 65 20 63 6f 6e |tarted. | The con|
|00000940| 74 65 78 74 20 63 61 6e | 20 62 65 20 72 65 63 6f |text can| be reco|
|00000950| 76 65 72 65 64 20 77 69 | 74 68 20 74 68 65 0a 60 |vered wi|th the.`|
|00000960| 72 65 63 6f 76 65 72 2d | 63 6f 6e 74 65 78 74 27 |recover-|context'|
|00000970| 20 63 6f 6d 6d 61 6e 64 | 2c 20 70 72 6f 76 69 64 | command|, provid|
|00000980| 65 64 20 79 6f 75 20 61 | 72 65 20 69 6e 20 74 68 |ed you a|re in th|
|00000990| 65 20 73 61 6d 65 20 64 | 69 72 65 63 74 6f 72 79 |e same d|irectory|
|000009a0| 20 77 68 65 72 65 0a 74 | 68 65 20 63 6f 6e 74 65 | where.t|he conte|
|000009b0| 78 74 20 77 61 73 20 73 | 61 76 65 64 2e 0a 0a 49 |xt was s|aved...I|
|000009c0| 66 20 74 68 65 20 76 61 | 72 69 61 62 6c 65 20 60 |f the va|riable `|
|000009d0| 73 61 76 65 2d 62 75 66 | 66 65 72 2d 63 6f 6e 74 |save-buf|fer-cont|
|000009e0| 65 78 74 27 20 69 73 20 | 6e 6f 6e 2d 6e 69 6c 2c |ext' is |non-nil,|
|000009f0| 20 74 68 65 20 63 6f 6e | 74 65 78 74 20 6f 66 20 | the con|text of |
|00000a00| 61 6c 6c 20 62 75 66 66 | 65 72 73 0a 76 69 73 69 |all buff|ers.visi|
|00000a10| 74 69 6e 67 20 66 69 6c | 65 73 20 77 69 6c 6c 20 |ting fil|es will |
|00000a20| 62 65 20 73 61 76 65 64 | 20 61 73 20 77 65 6c 6c |be saved| as well|
|00000a30| 2e 0a 0a 57 69 6e 64 6f | 77 20 73 69 7a 65 73 20 |...Windo|w sizes |
|00000a40| 61 6e 64 20 73 68 61 70 | 65 73 20 61 72 65 20 6e |and shap|es are n|
|00000a50| 6f 74 20 73 61 76 65 64 | 2c 20 73 69 6e 63 65 20 |ot saved|, since |
|00000a60| 74 68 65 73 65 20 6d 61 | 79 20 6e 6f 74 20 62 65 |these ma|y not be|
|00000a70| 20 72 65 63 6f 76 65 72 | 61 62 6c 65 0a 6f 6e 20 | recover|able.on |
|00000a80| 74 65 72 6d 69 6e 61 6c | 73 20 77 69 74 68 20 61 |terminal|s with a|
|00000a90| 20 64 69 66 66 65 72 65 | 6e 74 20 6e 75 6d 62 65 | differe|nt numbe|
|00000aa0| 72 20 6f 66 20 72 6f 77 | 73 20 61 6e 64 20 63 6f |r of row|s and co|
|00000ab0| 6c 75 6d 6e 73 2e 22 20 | 28 69 6e 74 65 72 61 63 |lumns." |(interac|
|00000ac0| 74 69 76 65 29 20 28 62 | 79 74 65 2d 63 6f 64 65 |tive) (b|yte-code|
|00000ad0| 20 22 c0 88 c1 c2 c3 8f | 87 22 20 5b 6e 69 6c 20 | "......|." [nil |
|00000ae0| 65 72 72 6f 72 2d 64 61 | 74 61 20 28 62 79 74 65 |error-da|ta (byte|
|00000af0| 2d 63 6f 64 65 20 22 c3 | c3 c3 1a 19 18 c8 20 c9 |-code ".|...... .|
|00000b00| ca 20 51 89 12 88 cb 0a | 21 3f 85 29 00 cb c8 20 |. Q.....|!?.)... |
|00000b10| 21 83 24 00 cc cd 0a 5c | 22 82 29 00 cc ce c8 20 |!.$....\|".).... |
|00000b20| 5c 22 88 cf d0 21 89 10 | 88 08 71 88 d1 20 88 d2 |\"...!..|..q.. ..|
|00000b30| c3 21 88 d3 d4 d5 20 5c | 22 88 60 89 11 88 0c 85 |.!.... \|".`.....|
|00000b40| 4d 00 d3 d6 d7 20 5c 22 | 88 d8 08 21 83 7e 00 08 |M.... \"|...!.~..|
|00000b50| 71 88 c3 89 15 88 d9 63 | 88 09 62 88 d9 63 88 65 |q......c|..b..c.e|
|00000b60| 62 88 da 0e 06 08 5c 22 | 88 db 63 88 d2 c3 21 88 |b.....\"|..c...!.|
|00000b70| dc 65 64 0a c3 dd 25 82 | 82 00 de df e0 8f 88 e1 |.ed...%.|........|
|00000b80| 08 21 2b 87 22 20 5b 63 | 6f 6e 74 65 78 74 2d 62 |.!+." [c|ontext-b|
|00000b90| 75 66 66 65 72 20 6d 61 | 72 6b 20 73 61 76 65 2d |uffer ma|rk save-|
|00000ba0| 66 69 6c 65 2d 6e 61 6d | 65 20 6e 69 6c 20 73 61 |file-nam|e nil sa|
|00000bb0| 76 65 2d 62 75 66 66 65 | 72 2d 63 6f 6e 74 65 78 |ve-buffe|r-contex|
|00000bc0| 74 20 62 75 66 66 65 72 | 2d 6f 66 66 65 72 2d 73 |t buffer|-offer-s|
|00000bd0| 61 76 65 20 73 61 76 65 | 2d 63 6f 6e 74 65 78 74 |ave save|-context|
|00000be0| 2d 76 65 72 73 69 6f 6e | 20 74 20 6f 72 69 67 69 |-version| t origi|
|00000bf0| 6e 61 6c 2d 77 6f 72 6b | 69 6e 67 2d 64 69 72 65 |nal-work|ing-dire|
|00000c00| 63 74 6f 72 79 20 22 2e | 65 6d 61 63 73 5f 22 20 |ctory ".|emacs_" |
|00000c10| 75 73 65 72 2d 6c 6f 67 | 69 6e 2d 6e 61 6d 65 20 |user-log|in-name |
|00000c20| 66 69 6c 65 2d 77 72 69 | 74 61 62 6c 65 2d 70 20 |file-wri|table-p |
|00000c30| 65 72 72 6f 72 20 22 63 | 6f 6e 74 65 78 74 20 69 |error "c|ontext i|
|00000c40| 73 20 77 72 69 74 65 2d | 70 72 6f 74 65 63 74 65 |s write-|protecte|
|00000c50| 64 2c 20 25 73 22 20 22 | 63 61 6e 27 74 20 61 63 |d, %s" "|can't ac|
|00000c60| 63 65 73 73 20 64 69 72 | 65 63 74 6f 72 79 2c 20 |cess dir|ectory, |
|00000c70| 25 73 22 20 67 65 74 2d | 62 75 66 66 65 72 2d 63 |%s" get-|buffer-c|
|00000c80| 72 65 61 74 65 20 22 20 | 2a 43 6f 6e 74 65 78 74 |reate " |*Context|
|00000c90| 20 49 6e 66 6f 2a 22 20 | 65 72 61 73 65 2d 62 75 | Info*" |erase-bu|
|00000ca0| 66 66 65 72 20 73 65 74 | 2d 62 75 66 66 65 72 2d |ffer set|-buffer-|
|00000cb0| 6d 6f 64 69 66 69 65 64 | 2d 70 20 6d 61 70 63 61 |modified|-p mapca|
|00000cc0| 72 20 28 6c 61 6d 62 64 | 61 20 28 77 29 20 28 62 |r (lambd|a (w) (b|
|00000cd0| 79 74 65 2d 63 6f 64 65 | 20 22 c3 08 09 5c 22 85 |yte-code| "...\".|
|00000ce0| 20 00 c4 c5 c6 09 21 21 | 0a 5c 22 88 c7 c8 0a 5c | .....!!|.\"....\|
|00000cf0| 22 88 c4 c9 09 21 0a 5c | 22 88 c7 ca 0a 5c 22 87 |"....!.\|"....\".|
|00000d00| 22 20 5b 73 61 76 65 2d | 63 6f 6e 74 65 78 74 2d |" [save-|context-|
|00000d10| 70 72 65 64 69 63 61 74 | 65 20 77 20 63 6f 6e 74 |predicat|e w cont|
|00000d20| 65 78 74 2d 62 75 66 66 | 65 72 20 66 75 6e 63 61 |ext-buff|er funca|
|00000d30| 6c 6c 20 70 72 69 6e 31 | 20 62 75 66 66 65 72 2d |ll prin1| buffer-|
|00000d40| 66 69 6c 65 2d 6e 61 6d | 65 20 77 69 6e 64 6f 77 |file-nam|e window|
|00000d50| 2d 62 75 66 66 65 72 20 | 70 72 69 6e 63 20 22 20 |-buffer |princ " |
|00000d60| 22 20 77 69 6e 64 6f 77 | 2d 70 6f 69 6e 74 20 22 |" window|-point "|
|00000d70| 0a 22 5d 20 31 30 29 29 | 20 77 69 6e 64 6f 77 2d |."] 10))| window-|
|00000d80| 6c 69 73 74 20 28 6c 61 | 6d 62 64 61 20 28 62 29 |list (la|mbda (b)|
|00000d90| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 08 71 88 | (byte-c|ode ".q.|
|00000da0| 09 85 1a 00 c3 09 0a 5c | 22 88 c4 c5 0a 5c 22 88 |.......\|"....\".|
|00000db0| c3 60 0a 5c 22 88 c4 c6 | 0a 5c 22 87 22 20 5b 62 |.`.\"...|.\"." [b|
|00000dc0| 20 62 75 66 66 65 72 2d | 66 69 6c 65 2d 6e 61 6d | buffer-|file-nam|
|00000dd0| 65 20 63 6f 6e 74 65 78 | 74 2d 62 75 66 66 65 72 |e contex|t-buffer|
|00000de0| 20 70 72 69 6e 31 20 70 | 72 69 6e 63 20 22 20 22 | prin1 p|rinc " "|
|00000df0| 20 22 0a 22 5d 20 36 29 | 29 20 62 75 66 66 65 72 | "."] 6)|) buffer|
|00000e00| 2d 6c 69 73 74 20 62 75 | 66 66 65 72 2d 6d 6f 64 |-list bu|ffer-mod|
|00000e10| 69 66 69 65 64 2d 70 20 | 22 6e 69 6c 0a 22 20 70 |ified-p |"nil." p|
|00000e20| 72 69 6e 31 20 22 0a 0a | 22 20 77 72 69 74 65 2d |rin1 "..|" write-|
|00000e30| 72 65 67 69 6f 6e 20 71 | 75 69 65 74 20 64 61 74 |region q|uiet dat|
|00000e40| 61 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 c1 08 |a (byte-|code "..|
|00000e50| 21 87 22 20 5b 73 61 76 | 65 2d 66 69 6c 65 2d 6e |!." [sav|e-file-n|
|00000e60| 61 6d 65 20 64 65 6c 65 | 74 65 2d 66 69 6c 65 5d |ame dele|te-file]|
|00000e70| 20 32 29 20 28 28 65 72 | 72 6f 72 20 28 62 79 74 | 2) ((er|ror (byt|
|00000e80| 65 2d 63 6f 64 65 20 22 | c0 87 22 20 5b 6e 69 6c |e-code "|.." [nil|
|00000e90| 5d 20 31 29 29 29 20 6b | 69 6c 6c 2d 62 75 66 66 |] 1))) k|ill-buff|
|00000ea0| 65 72 5d 20 32 34 29 20 | 28 28 65 72 72 6f 72 20 |er] 24) |((error |
|00000eb0| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 87 22 20 |(byte-co|de ".." |
|00000ec0| 5b 6e 69 6c 5d 20 31 29 | 29 29 5d 20 33 29 29 0a |[nil] 1)|))] 3)).|
|00000ed0| 0a 28 64 65 66 75 6e 20 | 72 65 63 6f 76 65 72 2d |.(defun |recover-|
|00000ee0| 63 6f 6e 74 65 78 74 20 | 6e 69 6c 20 22 5c 0a 52 |context |nil "\.R|
|00000ef0| 65 63 6f 76 65 72 20 61 | 6e 20 45 6d 61 63 73 20 |ecover a|n Emacs |
|00000f00| 63 6f 6e 74 65 78 74 20 | 73 61 76 65 64 20 62 79 |context |saved by|
|00000f10| 20 60 73 61 76 65 2d 63 | 6f 6e 74 65 78 74 27 20 | `save-c|ontext' |
|00000f20| 63 6f 6d 6d 61 6e 64 2e | 0a 46 69 6c 65 73 20 74 |command.|.Files t|
|00000f30| 68 61 74 20 77 65 72 65 | 20 76 69 73 69 62 6c 65 |hat were| visible|
|00000f40| 20 69 6e 20 77 69 6e 64 | 6f 77 73 20 77 68 65 6e | in wind|ows when|
|00000f50| 20 74 68 65 20 63 6f 6e | 74 65 78 74 20 77 61 73 | the con|text was|
|00000f60| 20 73 61 76 65 64 20 61 | 72 65 20 76 69 73 69 74 | saved a|re visit|
|00000f70| 65 64 20 61 6e 64 0a 70 | 6f 69 6e 74 20 69 73 20 |ed and.p|oint is |
|00000f80| 73 65 74 20 69 6e 20 65 | 61 63 68 20 77 69 6e 64 |set in e|ach wind|
|00000f90| 6f 77 20 74 6f 20 77 68 | 61 74 20 69 73 20 77 61 |ow to wh|at is wa|
|00000fa0| 73 20 77 68 65 6e 20 74 | 68 65 20 63 6f 6e 74 65 |s when t|he conte|
|00000fb0| 78 74 20 77 61 73 20 73 | 61 76 65 64 2e 22 20 28 |xt was s|aved." (|
|00000fc0| 69 6e 74 65 72 61 63 74 | 69 76 65 29 20 28 62 79 |interact|ive) (by|
|00000fd0| 74 65 2d 63 6f 64 65 20 | 22 c0 88 c1 c2 c3 8f 87 |te-code |".......|
|00000fe0| 22 20 5b 6e 69 6c 20 65 | 72 72 6f 72 2d 64 61 74 |" [nil e|rror-dat|
|00000ff0| 61 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 c3 c3 |a (byte-|code "..|
|00001000| c3 1a 19 18 c5 20 c6 c7 | 20 51 89 12 88 c8 0a 21 |..... ..| Q.....!|
|00001010| 3f 85 1a 00 c9 ca 0a 5c | 22 88 cb cc 21 89 11 88 |?......\|"...!...|
|00001020| 09 71 88 cd 20 88 ce 0a | c3 5c 22 88 cf c3 21 88 |.q.. ...|.\"...!.|
|00001030| d0 d1 20 21 85 3b 00 c9 | d2 0a 5c 22 88 d3 09 21 |.. !.;..|..\"...!|
|00001040| 89 10 88 d4 08 0c 5c 22 | 3f 85 4e 00 c9 d5 08 5c |......\"|?.N....\|
|00001050| 22 88 d3 09 21 89 10 85 | 74 00 d6 d7 20 21 88 d8 |"...!...|t... !..|
|00001060| 20 85 63 00 d9 20 88 da | db 21 88 dc 08 21 88 d3 | .c.. ..|.!...!..|
|00001070| 09 21 62 88 82 4f 00 88 | d3 09 21 89 10 85 8a 00 |.!b..O..|..!.....|
|00001080| dd 08 21 71 88 d3 09 21 | 62 88 82 75 00 88 de df |..!q...!|b..u....|
|00001090| 21 88 e0 09 21 2b 87 22 | 20 5b 73 65 78 70 72 20 |!...!+."| [sexpr |
|000010a0| 63 6f 6e 74 65 78 74 2d | 62 75 66 66 65 72 20 72 |context-|buffer r|
|000010b0| 65 63 6f 76 65 72 2d 66 | 69 6c 65 2d 6e 61 6d 65 |ecover-f|ile-name|
|000010c0| 20 6e 69 6c 20 73 61 76 | 65 2d 63 6f 6e 74 65 78 | nil sav|e-contex|
|000010d0| 74 2d 76 65 72 73 69 6f | 6e 20 6f 72 69 67 69 6e |t-versio|n origin|
|000010e0| 61 6c 2d 77 6f 72 6b 69 | 6e 67 2d 64 69 72 65 63 |al-worki|ng-direc|
|000010f0| 74 6f 72 79 20 22 2e 65 | 6d 61 63 73 5f 22 20 75 |tory ".e|macs_" u|
|00001100| 73 65 72 2d 6c 6f 67 69 | 6e 2d 6e 61 6d 65 20 66 |ser-logi|n-name f|
|00001110| 69 6c 65 2d 72 65 61 64 | 61 62 6c 65 2d 70 20 65 |ile-read|able-p e|
|00001120| 72 72 6f 72 20 22 63 61 | 6e 27 74 20 61 63 63 65 |rror "ca|n't acce|
|00001130| 73 73 20 63 6f 6e 74 65 | 78 74 2c 20 25 73 22 20 |ss conte|xt, %s" |
|00001140| 67 65 74 2d 62 75 66 66 | 65 72 2d 63 72 65 61 74 |get-buff|er-creat|
|00001150| 65 20 22 20 2a 52 65 63 | 6f 76 65 72 65 64 20 43 |e " *Rec|overed C|
|00001160| 6f 6e 74 65 78 74 2a 22 | 20 65 72 61 73 65 2d 62 |ontext*"| erase-b|
|00001170| 75 66 66 65 72 20 69 6e | 73 65 72 74 2d 66 69 6c |uffer in|sert-fil|
|00001180| 65 2d 63 6f 6e 74 65 6e | 74 73 20 73 65 74 2d 62 |e-conten|ts set-b|
|00001190| 75 66 66 65 72 2d 6d 6f | 64 69 66 69 65 64 2d 70 |uffer-mo|dified-p|
|000011a0| 20 7a 65 72 6f 70 20 62 | 75 66 66 65 72 2d 73 69 | zerop b|uffer-si|
|000011b0| 7a 65 20 22 63 6f 6e 74 | 65 78 74 20 66 69 6c 65 |ze "cont|ext file|
|000011c0| 20 69 73 20 65 6d 70 74 | 79 2c 20 25 73 22 20 72 | is empt|y, %s" r|
|000011d0| 65 61 64 20 65 71 75 61 | 6c 20 22 76 65 72 73 69 |ead equa|l "versi|
|000011e0| 6f 6e 20 73 74 72 69 6e | 67 20 69 6e 63 6f 72 72 |on strin|g incorr|
|000011f0| 65 63 74 2c 20 25 73 22 | 20 73 65 6c 65 63 74 2d |ect, %s"| select-|
|00001200| 77 69 6e 64 6f 77 20 67 | 65 74 2d 6c 61 72 67 65 |window g|et-large|
|00001210| 73 74 2d 77 69 6e 64 6f | 77 20 62 75 66 66 65 72 |st-windo|w buffer|
|00001220| 2d 66 69 6c 65 2d 6e 61 | 6d 65 20 73 70 6c 69 74 |-file-na|me split|
|00001230| 2d 77 69 6e 64 6f 77 20 | 6f 74 68 65 72 2d 77 69 |-window |other-wi|
|00001240| 6e 64 6f 77 20 31 20 66 | 69 6e 64 2d 66 69 6c 65 |ndow 1 f|ind-file|
|00001250| 20 66 69 6e 64 2d 66 69 | 6c 65 2d 6e 6f 73 65 6c | find-fi|le-nosel|
|00001260| 65 63 74 20 62 75 72 79 | 2d 62 75 66 66 65 72 20 |ect bury|-buffer |
|00001270| 22 2a 73 63 72 61 74 63 | 68 2a 22 20 6b 69 6c 6c |"*scratc|h*" kill|
|00001280| 2d 62 75 66 66 65 72 5d | 20 32 38 29 20 28 28 65 |-buffer]| 28) ((e|
|00001290| 72 72 6f 72 20 28 62 79 | 74 65 2d 63 6f 64 65 20 |rror (by|te-code |
|000012a0| 22 c0 87 22 20 5b 6e 69 | 6c 5d 20 31 29 29 29 5d |".." [ni|l] 1)))]|
|000012b0| 20 33 29 29 0a 0a 28 64 | 65 66 75 6e 20 6f 72 69 | 3))..(d|efun ori|
|000012c0| 67 69 6e 61 6c 2d 77 6f | 72 6b 69 6e 67 2d 64 69 |ginal-wo|rking-di|
|000012d0| 72 65 63 74 6f 72 79 20 | 6e 69 6c 20 28 62 79 74 |rectory |nil (byt|
|000012e0| 65 2d 63 6f 64 65 20 22 | 8a c1 c2 21 71 88 08 29 |e-code "|...!q..)|
|000012f0| 87 22 20 5b 64 65 66 61 | 75 6c 74 2d 64 69 72 65 |." [defa|ult-dire|
|00001300| 63 74 6f 72 79 20 67 65 | 74 2d 62 75 66 66 65 72 |ctory ge|t-buffer|
|00001310| 2d 63 72 65 61 74 65 20 | 22 2a 73 63 72 61 74 63 |-create |"*scratc|
|00001320| 68 2a 22 5d 20 32 29 29 | 0a 0a 28 64 65 66 75 6e |h*"] 2))|..(defun|
|00001330| 20 77 69 6e 64 6f 77 2d | 6c 69 73 74 20 28 26 6f | window-|list (&o|
|00001340| 70 74 69 6f 6e 61 6c 20 | 6d 69 6e 69 29 20 22 5c |ptional |mini) "\|
|00001350| 0a 52 65 74 75 72 6e 73 | 20 61 20 6c 69 73 74 20 |.Returns| a list |
|00001360| 6f 66 20 4c 69 73 70 20 | 77 69 6e 64 6f 77 20 6f |of Lisp |window o|
|00001370| 62 6a 65 63 74 73 20 66 | 6f 72 20 61 6c 6c 20 45 |bjects f|or all E|
|00001380| 6d 61 63 73 20 77 69 6e | 64 6f 77 73 2e 0a 4f 70 |macs win|dows..Op|
|00001390| 74 69 6f 6e 61 6c 20 66 | 69 72 73 74 20 61 72 67 |tional f|irst arg|
|000013a0| 20 4d 49 4e 49 42 55 46 | 20 74 20 6d 65 61 6e 73 | MINIBUF| t means|
|000013b0| 20 69 6e 63 6c 75 64 65 | 20 74 68 65 20 6d 69 6e | include| the min|
|000013c0| 69 62 75 66 66 65 72 20 | 77 69 6e 64 6f 77 0a 69 |ibuffer |window.i|
|000013d0| 6e 20 74 68 65 20 6c 69 | 73 74 2c 20 65 76 65 6e |n the li|st, even|
|000013e0| 20 69 66 20 69 74 20 69 | 73 20 6e 6f 74 20 61 63 | if it i|s not ac|
|000013f0| 74 69 76 65 2e 20 20 49 | 66 20 4d 49 4e 49 42 55 |tive. I|f MINIBU|
|00001400| 46 20 69 73 20 6e 65 69 | 74 68 65 72 20 74 0a 6e |F is nei|ther t.n|
|00001410| 6f 72 20 6e 69 6c 20 69 | 74 20 6d 65 61 6e 73 20 |or nil i|t means |
|00001420| 74 6f 20 6e 6f 74 20 63 | 6f 75 6e 74 20 74 68 65 |to not c|ount the|
|00001430| 20 6d 69 6e 69 62 75 66 | 66 65 72 20 77 69 6e 64 | minibuf|fer wind|
|00001440| 6f 77 20 65 76 65 6e 20 | 69 66 20 69 74 20 69 73 |ow even |if it is|
|00001450| 20 61 63 74 69 76 65 2e | 22 20 28 62 79 74 65 2d | active.|" (byte-|
|00001460| 63 6f 64 65 20 22 c6 c7 | c8 20 21 09 5c 22 18 08 |code "..|. !.\"..|
|00001470| c3 42 1a 0a 1c c6 08 09 | 5c 22 1d 0d 08 3d 3f 85 |.B......|\"...=?.|
|00001480| 2d 00 c9 0c 0d c3 42 5c | 22 89 14 88 c6 0d 09 5c |-.....B\|"......\|
|00001490| 22 89 15 88 82 13 00 88 | 0a 2c 87 22 20 5b 66 69 |".......|.,." [fi|
|000014a0| 72 73 74 2d 77 69 6e 64 | 6f 77 20 6d 69 6e 69 20 |rst-wind|ow mini |
|000014b0| 77 69 6e 64 6f 77 73 20 | 6e 69 6c 20 63 75 72 72 |windows |nil curr|
|000014c0| 65 6e 74 2d 63 6f 6e 73 | 20 77 20 6e 65 78 74 2d |ent-cons| w next-|
|000014d0| 77 69 6e 64 6f 77 20 70 | 72 65 76 69 6f 75 73 2d |window p|revious-|
|000014e0| 77 69 6e 64 6f 77 20 73 | 65 6c 65 63 74 65 64 2d |window s|elected-|
|000014f0| 77 69 6e 64 6f 77 20 73 | 65 74 63 64 72 5d 20 39 |window s|etcdr] 9|
|00001500| 29 29 0a | |)). | |
+--------+-------------------------+-------------------------+--------+--------+